package demo;

public class Father {
    public void eat(){

        System.out.println("吃肉的");
    }
}

class Son extends Father {
    @Override
    public void eat() {
        System.out.println("吃荤素搭配的");

        System.out.println(120%8+"  "+120/8);
    }

    public static void main(String[] args) {
        Father father = new Son();
        father.eat();
    }
}
